VindiPaymentGateways\VindiRoutes B

Total Complexity 76
Dependencies 1
Dependents 7
Total lines 519
Lines of code 274
Logical lines of code 149
Comment lines 103
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
getPaymentMethods()
A
50 8 27
isSubscriptionActive()
S
57 7 17
getMerchant()
S
62 5 10
createCustomerPaymentProfile()
S
61 4 12
isMerchantStatusTrialOrSandbox()
S
66 4 8
findProductByCode()
S
59 3 13
deleteBill()
S
62 3 11
getPaymentProfile()
S
61 3 11
findOrCreateProduct()
S
58 2 17
createSubscription()
S
64 3 9
createBill()
S
70 2 6
findProductById()
S
66 2 8
hasPendingSubscriptionBills()
S
64 2 9
getSubscription()
S
71 2 5
activateSubscription()
S
71 2 5
findCustomerById()
S
66 2 8
getCharge()
S
69 2 6
getPlan()
S
65 2 9
createCustomer()
S
68 2 7
acceptBankSlip()
S
72 2 6
findBillById()
S
65 2 9
refundCharge()
S
67 2 7
suspendSubscription()
S
66 2 8
__construct()
S
77 1 4
deleteCustomer()
S
68 1 7
updateCustomer()
S
68 1 7
updateProduct()
S
68 1 7
createProduct()
S
74 1 4
updatePlan()
S
68 1 7
createPlan()
S
74 1 4
verifyCustomerPaymentProfile()
S
70 1 6